.class Lcom/waiqin365/lightapp/product/a/cb;
.super Ljava/lang/Object;

# interfaces
.implements Lcom/waiqin365/lightapp/product/view/e;


# instance fields
.field final synthetic a:Landroid/widget/RelativeLayout;

.field final synthetic b:Landroid/widget/CheckBox;

.field final synthetic c:Lcom/waiqin365/lightapp/product/d/f;

.field final synthetic d:Landroid/widget/TextView;

.field final synthetic e:Lcom/waiqin365/lightapp/product/a/bw;


# direct methods
.method constructor <init>(Lcom/waiqin365/lightapp/product/a/bw;Landroid/widget/RelativeLayout;Landroid/widget/CheckBox;Lcom/waiqin365/lightapp/product/d/f;Landroid/widget/TextView;)V
    .locals 0

    iput-object p1, p0, Lcom/waiqin365/lightapp/product/a/cb;->e:Lcom/waiqin365/lightapp/product/a/bw;

    iput-object p2, p0, Lcom/waiqin365/lightapp/product/a/cb;->a:Landroid/widget/RelativeLayout;

    iput-object p3, p0, Lcom/waiqin365/lightapp/product/a/cb;->b:Landroid/widget/CheckBox;

    iput-object p4, p0, Lcom/waiqin365/lightapp/product/a/cb;->c:Lcom/waiqin365/lightapp/product/d/f;

    iput-object p5, p0, Lcom/waiqin365/lightapp/product/a/cb;->d:Landroid/widget/TextView;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public a(Lcom/waiqin365/base/db/offlinedata/s;)V
    .locals 0

    return-void
.end method

.method public a(Ljava/lang/String;)V
    .locals 7

    const-wide/16 v2, 0x0

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/a/cb;->a:Landroid/widget/RelativeLayout;

    invoke-virtual {v0}, Landroid/widget/RelativeLayout;->getTag()Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/base/db/jxccache/g;

    if-nez v0, :cond_0

    :goto_0
    return-void

    :cond_0
    invoke-static {p1}, Lcom/fiberhome/gaea/client/d/k;->e(Ljava/lang/String;)Ljava/lang/Double;

    move-result-object v1

    invoke-virtual {v0, v1}, Lcom/waiqin365/base/db/jxccache/g;->b(Ljava/lang/Double;)V

    iget-object v1, p0, Lcom/waiqin365/lightapp/product/a/cb;->b:Landroid/widget/CheckBox;

    invoke-virtual {v1}, Landroid/widget/CheckBox;->getTag()Ljava/lang/Object;

    move-result-object v1

    check-cast v1, Lcom/waiqin365/lightapp/product/d/f;

    const-string/jumbo v4, "cx_pd_zc_cache"

    iget-object v5, p0, Lcom/waiqin365/lightapp/product/a/cb;->e:Lcom/waiqin365/lightapp/product/a/bw;

    iget-object v5, v5, Lcom/waiqin365/lightapp/product/a/bw;->b:Ljava/lang/String;

    invoke-virtual {v4, v5}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v4

    if-eqz v4, :cond_2

    invoke-virtual {v0}, Lcom/waiqin365/base/db/jxccache/g;->g()Ljava/lang/Double;

    move-result-object v4

    invoke-static {v4, v2, v3}, Lcom/fiberhome/gaea/client/d/k;->a(Ljava/lang/Double;D)D

    move-result-wide v4

    iget-object v6, p0, Lcom/waiqin365/lightapp/product/a/cb;->c:Lcom/waiqin365/lightapp/product/d/f;

    invoke-virtual {v6}, Lcom/waiqin365/lightapp/product/d/f;->M()Ljava/lang/Double;

    move-result-object v6

    invoke-static {v6, v2, v3}, Lcom/fiberhome/gaea/client/d/k;->a(Ljava/lang/Double;D)D

    move-result-wide v2

    sub-double v2, v4, v2

    :cond_1
    :goto_1
    invoke-static {v2, v3}, Ljava/lang/Double;->valueOf(D)Ljava/lang/Double;

    move-result-object v4

    invoke-virtual {v0, v4}, Lcom/waiqin365/base/db/jxccache/g;->d(Ljava/lang/Double;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/a/cb;->d:Landroid/widget/TextView;

    new-instance v4, Ljava/lang/StringBuilder;

    invoke-direct {v4}, Ljava/lang/StringBuilder;-><init>()V

    iget-object v5, p0, Lcom/waiqin365/lightapp/product/a/cb;->e:Lcom/waiqin365/lightapp/product/a/bw;

    invoke-virtual {v5}, Lcom/waiqin365/lightapp/product/a/bw;->a()Landroid/content/Context;

    move-result-object v5

    const v6, 0x7f08025a

    invoke-virtual {v5, v6}, Landroid/content/Context;->getString(I)Ljava/lang/String;

    move-result-object v5

    invoke-virtual {v4, v5}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v4

    const-string/jumbo v5, "\uff1a"

    invoke-virtual {v4, v5}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v4

    invoke-virtual {v1}, Lcom/waiqin365/lightapp/product/d/f;->a()Ljava/lang/String;

    move-result-object v1

    iget-object v5, p0, Lcom/waiqin365/lightapp/product/a/cb;->e:Lcom/waiqin365/lightapp/product/a/bw;

    iget-boolean v5, v5, Lcom/waiqin365/lightapp/product/a/bw;->i:Z

    invoke-static {v1, v2, v3, v5}, Lcom/waiqin365/lightapp/product/e/b;->a(Ljava/lang/String;DZ)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v4, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    goto :goto_0

    :cond_2
    const-string/jumbo v4, "cx_pd_hh_cache"

    iget-object v5, p0, Lcom/waiqin365/lightapp/product/a/cb;->e:Lcom/waiqin365/lightapp/product/a/bw;

    iget-object v5, v5, Lcom/waiqin365/lightapp/product/a/bw;->b:Ljava/lang/String;

    invoke-virtual {v4, v5}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v4

    if-eqz v4, :cond_3

    invoke-virtual {v0}, Lcom/waiqin365/base/db/jxccache/g;->g()Ljava/lang/Double;

    move-result-object v4

    invoke-static {v4, v2, v3}, Lcom/fiberhome/gaea/client/d/k;->a(Ljava/lang/Double;D)D

    move-result-wide v4

    iget-object v6, p0, Lcom/waiqin365/lightapp/product/a/cb;->c:Lcom/waiqin365/lightapp/product/d/f;

    invoke-virtual {v6}, Lcom/waiqin365/lightapp/product/d/f;->O()Ljava/lang/Double;

    move-result-object v6

    invoke-static {v6, v2, v3}, Lcom/fiberhome/gaea/client/d/k;->a(Ljava/lang/Double;D)D

    move-result-wide v2

    sub-double v2, v4, v2

    goto :goto_1

    :cond_3
    const-string/jumbo v4, "cx_pd_th_cache"

    iget-object v5, p0, Lcom/waiqin365/lightapp/product/a/cb;->e:Lcom/waiqin365/lightapp/product/a/bw;

    iget-object v5, v5, Lcom/waiqin365/lightapp/product/a/bw;->b:Ljava/lang/String;

    invoke-virtual {v4, v5}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v4

    if-eqz v4, :cond_1

    invoke-virtual {v0}, Lcom/waiqin365/base/db/jxccache/g;->g()Ljava/lang/Double;

    move-result-object v4

    invoke-static {v4, v2, v3}, Lcom/fiberhome/gaea/client/d/k;->a(Ljava/lang/Double;D)D

    move-result-wide v4

    iget-object v6, p0, Lcom/waiqin365/lightapp/product/a/cb;->c:Lcom/waiqin365/lightapp/product/d/f;

    invoke-virtual {v6}, Lcom/waiqin365/lightapp/product/d/f;->N()Ljava/lang/Double;

    move-result-object v6

    invoke-static {v6, v2, v3}, Lcom/fiberhome/gaea/client/d/k;->a(Ljava/lang/Double;D)D

    move-result-wide v2

    sub-double v2, v4, v2

    goto/16 :goto_1
.end method
